package com.sdx.console.content.dao;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.sdx.console.content.entity.ResContentMain;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * ResContentMain Dao
 */
@SqlResource("content.resContentMain")
public interface ResContentMainDao extends BaseMapper<ResContentMain>{
    public PageQuery<ResContentMain> queryByCondition(PageQuery query);
    public void batchDelResContentMainByIds( List<String> ids);
    public List<ResContentMain> queryByProvinceId(String provinceId);
    List<BaseEntity> selectAuthor(Integer provinceId);
}